<include file="__THEME__/header" />
<link href="__PUBLIC__/js/kissy/themes/default/editor-min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/kissy/neweditor.js"></script>

<section class="container ">
  
  <div id="course-header" class="flat course-header course-small-header">
  <div class="imageblock clearfix">
    <div class="imageblock-image">
      <a href="__ROOT__/course/2418/"><img src="./上传视频课程_files/course.jpg" alt="IOS入门经典教程" width="48" heiht="48"></a>
    </div>
    <div class="imageblock-content">
      <div class="action-bar">
  
  </div>

      <h1 class="mbm"><a href="__ROOT__/course/2418/">  IOS入门经典教程
            <span class="label" title="待完成课时的添加之后，请申请发布课程！">未发布</span>
      </a></h1>

      <div style="margin-left: -5px;"><div class="clearfix mtm">

  <div class="pills" style="margin-bottom:0px">
    <a href="__ROOT__/course/2418/">课时</a>
    <a href="__ROOT__/course/2418/questions">问答</a>
    <a href="__ROOT__/course/2418/notes">笔记</a>
    <a href="__ROOT__/course/2418/members">学员</a>
  </div>



</div>
</div>

    </div>
  </div>
</div>

<script>
  __COURSE_MEMBER_ROLE = 'founder';
</script>




  <form id="lesson-form" class="dform lesson-form" method="post" novalidate>
  <div id="course-main">

  <div class="flat">
    <h2>添加第1课时</h2>

        <div class="item" id="video-url-item">
      <label class="item-label required" for="lesson_video">视频地址:</label>
      <input type="text" id="lesson_video" name="lesson[video]" required class="item-input">
      <div class="hint">目前只支持优酷/土豆/网易视频的视频地址、mp4格式视频地址</div>
    </div>
    
    <div class="item">
      <label class="item-label required" for="lesson_title">标题:</label>
      <input type="text" id="lesson_title" name="lesson[title]" required class="item-input">
    </div>


    <div class="item">
      <div id="editor-save-images" class="fr mrm"><span style="display:none;" class="editor-save-images-response"></span><a href="javascript:;" id="editor-save-images-btn">转存编辑器中外部图片</a></div>
      <label class="item-label required" for="lesson_content">正文:</label>
      <textarea id="lesson_content" name="lesson[content]" required class="item-input twentyrows mceEditor" aria-hidden="true"></textarea>
    </div>
  
    

    
    <div class="item actions clearfix">
     
     <button type="submit" class="btn btn-success fr mrm">保存</button>
            <a href="__ROOT__/course/2418/" class="btn">取消</a>
         </div>
  
  </div>



  </div>



  <div id="course-side">
    <div class="flat">
      <h3>摘要</h3>
      <textarea id="lesson_summary" name="lesson[summary]" required class="item-input threerows"></textarea>
      <div class="hint">请简述课时的内容</div>
    </div>

    <div class="flat">
      <h3>参考资料</h3>
      <textarea id="lesson_reference" name="lesson[reference]" required class="item-input threerows"></textarea>
      <div class="hint">如果课时中引用了或转载了相关内容，请把内容的出处写在这里；如完全原创，则不用填写此处。</div>
    </div>


  </div>
  <input type="hidden" id="lesson_method" name="lesson[method]" value="video"><input type="hidden" id="lesson__token" name="lesson[_token]" value="33824a96c68d361bdb79bc8f9b7ea19d56c08040">
  </form>


  
</section>

<include file="__THEME__/footer" />
<script>
$(document).ready(function(){
	E	=	KISSY.Editor( "lesson_content" );
});
</script>